/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.miracleteam.miracle.services.servicesImpl;

import com.miracleteam.miracle.dao.CommentCauHoiGianHangDAO;
import com.miracleteam.miracle.dao.daoImpl.CommentCauHoiGianHangDAOImpl;
import com.miracleteam.miracle.entities.Commentcauhoigianhang;
import com.miracleteam.miracle.services.CommentCauHoiGianHangService;
import java.util.List;

/**
 *
 * @author DangKhoa
 */
public class CommentCauHoiGianHangServiceImpl implements CommentCauHoiGianHangService{

    public List LayDSCommentCauHoi(String maCH) {
        CommentCauHoiGianHangDAO cmDao=new CommentCauHoiGianHangDAOImpl();
        return cmDao.LayDSCommentCauHoi(maCH);
    }

    public int ThemCommentCauHoi(Commentcauhoigianhang cm) {
         CommentCauHoiGianHangDAO cmDao=new CommentCauHoiGianHangDAOImpl();
         return cmDao.ThemCommentCauHoi(cm);
    }
        public String PhatSinhMaCauTraLoi() {
              CommentCauHoiGianHangDAO cmDao=new CommentCauHoiGianHangDAOImpl();
                return cmDao.PhatSinhMaCauTraLoi();
        }
    
}
